﻿#pragma once

#include <QtWidgets/QWidget>
#include "ui_QTandOpenCV.h"
#include "opencv.hpp"

class QTandOpenCV : public QWidget
{
    Q_OBJECT

public:
    QTandOpenCV(QWidget *parent = nullptr);
    ~QTandOpenCV();

private:
    Ui::QTandOpenCVClass ui;

public:
    void comboboxAddBtn();
    void textImgClear();
    void openCVImgShow(cv::Mat img, QGraphicsView* graphicview);
    void btnCSSset();
    void filterWidget();
    void removeFilterWidget();
    void EDWidget();

private slots:
    void on_background_clicked();
    void on_ProSelect_activated(int selectIndex);
    void on_startBtn_clicked();
};

